﻿<%@ Page Title="Contact Us" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="contact-us.aspx.cs" Inherits="contact_us" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <style type="text/css">
        .style7
        {
            width: 159px;
            height: 43px;
        }
        .style8
        {
            height: 43px;
        }
        .style9
        {
            width: 159px;
            height: 122px;
        }
        .style10
        {
            height: 122px;
        }
        .style11
        {
            width: 159px;
            height: 42px;
        }
        .style12
        {
            height: 42px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <div class="title">
        Contact us</div>
    <div class="des">
        Fill in the form if you have something to complain.</div>
    <div style="padding: 10px">
        <div>
                    <h6 class="cmtHead">Contact Form:</h6>
<%--            <form method="post">
              <table width="100%">
                <tr>
                  <td align="left" valign="top" class="style7" id="Company"><strong>Company:</strong></td>
                  <td width="280" align="left" valign="top" class="style8">
                      <asp:TextBox ID="txtCompany" runat="server" Width="426px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                  <td align="left" valign="top" class="style7" id="Contact"><strong>Full Name:</strong></td>
                  <td align="left" valign="top" class="style8">
                      <asp:TextBox ID="txtName" runat="server" Width="426px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                  <td align="left" valign="top" class="style7" id="Address"><strong>Address: </strong></td>
                  <td align="left" valign="top" class="style8">
                  <asp:TextBox ID="txtAddress" runat="server" Width="426px"></asp:TextBox></td>
                </tr>
                <tr>
                  <td align="left" valign="top" class="style7" id="Phone"><strong> Phone: </strong></td>
                  <td align="left" valign="top" class="style8">
                  <asp:TextBox ID="txtPhone" runat="server" Width="426px"></asp:TextBox></td>
                </tr>
                <tr>
                  <td align="left" valign="top" class="style7" id="Email"><strong> Email: </strong></td>
                  <td align="left" valign="top" class="style8">
                  <asp:TextBox ID="txtEmail" runat="server" Width="426px"></asp:TextBox></td>
                </tr>
                <tr>
                  <td align="left" valign="top" class="style9" id="Comments" 
                        style="vertical-align:top;"><strong> Questions / Comments: </strong></td>
                  <td align="left" valign="top" class="style10">
                  <asp:TextBox ID="txtCmt" runat="server" Width="426px" Height="109px" 
                          TextMode="MultiLine"></asp:TextBox></td>
                </tr>
                <tr>
                  <td class="style11"></td>
                  <td class="style12">
                      <asp:Button ID="btnSend" runat="server" Text="Send mail" 
                          onclick="btnSend_Click" />
                    </td>
                </tr>
              </table>
            </form>--%>
<asp:Panel ID="Panel1" runat="server" DefaultButton="btnSubmit">
    <p>
        Please Fill the Following to Send Mail.</p>
    <p>
        Your name:
        <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ErrorMessage="*"
            ControlToValidate="YourName" ValidationGroup="save" /><br />
        <asp:TextBox ID="YourName" runat="server" Width="250px" /><br />
        Your email address:
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
            ControlToValidate="YourEmail" ValidationGroup="save" /><br />
        <asp:TextBox ID="YourEmail" runat="server" Width="250px" />
        <asp:RegularExpressionValidator runat="server" ID="RegularExpressionValidator23"
            SetFocusOnError="true" Text="Example: username@gmail.com" ControlToValidate="YourEmail"
            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="Dynamic"
            ValidationGroup="save" /><br />
        Subject:
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*"
            ControlToValidate="YourSubject" ValidationGroup="save" /><br />
        <asp:TextBox ID="YourSubject" runat="server" Width="400px" /><br />
        Your Question:
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*"
            ControlToValidate="Comments" ValidationGroup="save" /><br />
        <asp:TextBox ID="Comments" runat="server" 
                TextMode="MultiLine" Rows="10" Width="400px" />
    </p>
    <p>
        <asp:Button ID="btnSubmit" runat="server" Text="Send" 
                    OnClick="Button1_Click" ValidationGroup="save" />
    </p>
</asp:Panel>
<p>
    <asp:Label ID="DisplayMessage" runat="server" Visible="false" />
</p>  
          </div>
           <div> <br />
           <%-- <h6 class="cmtHead">Contact Information: </h6>
            <img src="images/photo-contact.jpg" alt="" width="152" height="100" class="project-img" /> 100 Lorem Ipsum Dolor Sit<br />
            88-99 Sit Amet, Lorem<br />
            USA<br />
            <br />
            <p> <span><img src="images/ico-phone.png" alt="Phone" width="20" height="16" hspace="2" /> Phone:</span> (888) 123 456 789<br />
              <span><img src="images/ico-fax.png" alt="Fax" width="20" height="16" hspace="2" /> Fax:</span> (888) 987 654 321<br />
              <span><img src="images/ico-website.png" alt="WWW Link" width="20" height="16" hspace="2" /> Website:</span> <a href="#">www.mycompany.com</a><br />
              <span><img src="images/ico-email.png" alt="Email" width="20" height="16" hspace="2" /> Email:</span> <a href="mailto:info@mycompany.com">info@mycompany.com</a><br />
              <span><img src="images/ico-twitter.png" alt="Twitter Follow" width="20" height="16" hspace="3" /> <a href="#">Follow</a> on Twitter</span><br /><br />
            </p>--%>
          </div>
        </div>      

</asp:Content>
